<!doctype html>
<html>
<head>
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
    <meta charset="UTF-8">
    <title>书签同步码云</title>
    <link rel="stylesheet" href="css/popup.css">
</head>
<body>

<div id="content">
    <div class="container">
        <div class="item">
            <label for="tbAccessToken" class="label">access_token</label>
            <input type="password" class="input" id="tbAccessToken" placeholder="用户授权码"
                   value=""/>
        </div>
        <div class="item">
            <label for="tbOwner" class="label">owner</label>
            <input type="text" class="input" id="tbOwner" placeholder="仓库所属空间地址"
                   value=""/>
        </div>
        <div class="item">
            <label for="tbRepo" class="label">repo</label>
            <input type="text" class="input" id="tbRepo" placeholder="仓库路径"
                   value=""/>
        </div>
        <div class="item">
            <label for="tbPath" class="label">path</label>
            <input type="text" class="input" id="tbPath" placeholder="文件的路径"
                   value=""/>
        </div>
        <div class="item">
            <label for="tbBranch" class="label">branch</label>
            <input type="text" class="input" id="tbBranch" placeholder="分支(通常是master)"
                   value=""/>
        </div>
        
        <!-- git最后提交时间 -->
        <div class="item">
            <label for="tbGitCommitTime" class="label">git时间</label>
            <text  class="input">
                <span id="tbGitCommitTime">等待同步</span>
                <span  class=" status loading" id="tbShowStatus">等待同步</span>
            </text>
            <button id="btnSyncGitTime">检测</button>
        </div>
        <!-- 本地更新时间 -->
        <div class="item">
            <label for="tbDownLoadTime" class="label">本地更新时间</label>
            <text  class="input" id="tbDownLoadTime">.....等待同步.....</text>
        </div>
        <!-- <div class="item">
            <label for="tbShowStatus" class="label">更新状态</label>
            <text  class="input status loading" id="tbShowStatus">等待同步</text>
        </div> -->

        <!-- toast -->
        <div class="item">
            <div class="toast" id="toast"></div>
        </div>

        <!-- remember -->
        <div class="item">
            <div class="rememberWrap">
                <span class="text grey" id="rememberText">Remember</span>
                <span class="dot green" id="rememberDot"></span>
            </div>
        </div>

        <!-- 按钮 -->
        <div class="item">
            <div class="buttonWrap">
                <button class="button buttonPurple" id="btnUploadForce" style="display: none;" title="双击: 强制上传到(gitee)">双击:强制上传</button>
                <button class="button buttonGreen " id="btnUpload"  title="单击: 上传到gitee">上传(gitee)</button>
                <button class="button buttonGray" id="btnDownload" title="单击: 从gitee中下载到本地中">下载(本地)</button>
            </div>
        </div>
    </div>
</div>
<div id="version" style="font-size: 12px;color: #DEDEDE;text-align: center;">版本号:v1.2.3</div>
<!-- loader -->
<div id="loaderWrap">
    <div class="loader"></div>
</div>

<!-- success -->
<div id="successWrap">
    <div class="successIcon"></div>
    <div class="successText"></div>
</div>

<!-- scripts -->
<script src="js/jquery-2.1.0.min.js"></script>
<script src="js/base64.js"></script>
<script src="js/popup.js"></script>
</body>

</html>